home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / Z80ppc 160.sit / Z80ppc 160 / z80.options < prev    next >
Text File  |  1995-11-19  |  2KB  |  41 lines

  1.  
  2. // -----    Optional inclusion of Z80_Info(cc,ip) in several special instructions --------------------
  3. //        Doesn't slow down the engine very much, if Z80_Info() does nothing
  4. //        May slow down the engine to a crawl, if Z80_Info() does time consuming jobs like printing
  5. //        Actually depending on flags Z80_Info() prints a line on the console disassembling the instruction
  6.  
  7. #if GENERATINGPOWERPC
  8. #define    INFO_ILLEGALS        on    // include Z80_Info(cc,ip) in normal illegal instructions ?
  9. #define    INFO_WEIRD        on    // include Z80_Info(cc,ip) in weird illegal instructions ?
  10. #define    INFO_IRPT            on    // include Z80_Info(cc,ip) in interrupt processing ?
  11. #define    INFO_NMI            on    // include Z80_Info(cc,ip) in nmi processing ?
  12. #define    INFO_MISC        on    // include Z80_Info(cc,ip) in miscellaneous instruction ?
  13.                             // >>>   EI;  DI;  IM0;  IM1;  IM2;  RETI;  RETN;  HALT;  DAA; 
  14.                             // >>>   LD A,R;  LD A,I;  LD R,A;  LD I,A;  RST 0 - RST 56
  15. #else
  16. #define    INFO_ILLEGALS        on    // include Z80_Info(cc,ip) in normal illegal instructions ?
  17. #define    INFO_WEIRD        on    // include Z80_Info(cc,ip) in weird illegal instructions ?
  18. #define    INFO_IRPT            on    // include Z80_Info(cc,ip) in interrupt processing ?
  19. #define    INFO_NMI            on    // include Z80_Info(cc,ip) in nmi processing ?
  20. #define    INFO_MISC        on    // include Z80_Info(cc,ip) in miscellaneous instruction ?
  21. #endif
  22.  
  23. // -----    Optional inclusion of additional code to profile Z80 applications --------------------
  24.  
  25. #if GENERATINGPOWERPC
  26. #define    CMD_PROFILE        on    // create opcode profiles
  27. #define    PC_PROFILE        on    // create address profile
  28. #else
  29. #define    CMD_PROFILE        on    // create opcode profiles
  30. #define    PC_PROFILE        on    // create address profile
  31. #endif
  32.  
  33. // -----    Optional exact calculation of R-register ----------------------------------------
  34.  
  35. #if GENERATINGPOWERPC
  36. #define    EXACT_R            on    // slows down emulation ! 
  37. #else
  38. #define    EXACT_R            on    // slows down emulation ! 
  39. #endif
  40.  
  41.